/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package sdk.weinxin.beans.kfmessage;

import com.fasterxml.jackson.annotation.JsonTypeName;
import sdk.weinxin.beans.message.Video;

/**
 *
 * @author 张森
 */
@JsonTypeName(value = VideoKfMessage.TYPE)
public class VideoKfMessage extends KfMessage {

    public static final String TYPE = "video";

    private VideoKfMessage() {
        this.setMsgtype(TYPE);
    }

    public VideoKfMessage(String touser, Video video) {
        super(touser, TYPE);
        this.video = video;
    }

    public Video video;

    public Video getVideo() {
        return video;
    }

    public void setVideo(Video video) {
        this.video = video;
    }

}
